import { ref, defineComponent, onMounted } from 'vue';

export default defineComponent((props,{slots, emit, attrs}) => {
 
  let num = ref(0);
  const plusNum = () => {
    num.value ++;
  };
  
  
  return () => (
    <div>
      <button onClick={plusNum}>
        { num.value }
      </button>
    </div>
  )
});